-- GENERATED SPELL FOR [Junk Bot] --


function spell0_33855(pUnit, Event) --@Emergency Mode,Self--
pUnit:FullCastSpellOnTarget(64582,pUnit)
pUnit:RegisterEvent('Sorts_33855', 568, 1)
end

function Sorts_33855(pUnit, Event)
local choix_sorts_33855 = math.random(0, 0)
if choix_sorts_33855 == 0 then
pUnit:RegisterEvent('spell0_33855', 1, 1)
end
end

function mob33855_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33855', math.random(1500, 3000), 1)
end

function mob33855_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33855_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33855_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33855, 1, 'mob33855_Action')
RegisterUnitEvent(33855, 2, 'mob33855_Leave')
RegisterUnitEvent(33855, 3, 'mob33855_Kill')
RegisterUnitEvent(33855, 4, 'mob33855_Die')
